package com.springinaction.ch03.profile;

        import org.springframework.beans.factory.annotation.Qualifier;
        import org.springframework.context.annotation.Bean;
        import org.springframework.context.annotation.Configuration;
        import org.springframework.context.annotation.Profile;

@Configuration
public class ProfiesConfig {

    @Bean
    @Profile("dev")
    public Profiles  ProfileDev(){
        return new Profiles("dev");
    }
    @Bean
    @Profile("pro")
    public Profiles  ProfilePro(){
        return new Profiles("pro");
    }
}
